package com.xc.h05.mapper;

import com.xc.h05.entity.Usermark;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 30658
* @description 针对表【usermark】的数据库操作Mapper
* @createDate 2025-03-07 19:54:45
* @Entity com.xc.h05.entity.Usermark
*/
@Mapper
public interface UsermarkMapper {
    //根据id删除
    int deleteByPrimaryKey(Long id);
    //插入
    int insert(Usermark record);

    int insertSelective(Usermark record);
    //根据id查询
    Usermark selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Usermark record);
    //根据id修改
    int updateByPrimaryKey(Usermark record);

    //增加
    int add(Usermark usermark);
    //批量删除
    int deleteByIds(List<Long> ids);
    //多表联查
    List<Usermark> selectAll(Usermark usermark);

}
